home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / source / cardpkg_1.3.lha / CardPkg / makefile < prev    next >
Encoding:
Makefile  |  1994-11-21  |  2.7 KB  |  93 lines

  1. # /************************************************************
  2. #
  3. #     TML's C Language Card Image Package  v1.1
  4. #     January, 1993
  5. #     Todd M. Lewis             (919) 776-7386
  6. #     2601 Piedmont Drive
  7. #     Sanford, NC  27330-9437
  8. #     USA
  9. # ************************************************************/
  10.  
  11. OPT = -qv -wc -hi includes
  12. CC  = cc
  13.  
  14. # The options listed above mean the following things to
  15. # the Manx Aztec C compiler (cc):
  16. #   -qv       Be verbose about what file is being read.
  17. #   -wc       Turn off warning about signed vs. unsigned character pointers.
  18. #   -bs       Produce debugging information.
  19. #   -hi includes Read the pre-compiled header file "includes"
  20. #   -ho includes Dump the symbol table to the file "includes"
  21. #
  22. # The linker (ln) options are:
  23. #   -g        Produce a debugging file.
  24. #   +cd       Put initialized data into CHIP RAM.
  25. #   -lc       link with the library "c.lib"
  26.  
  27. all: trimline Hello_V Hello_H Hello_VBig
  28. vertical:   Hello_V
  29. horizontal: Hello_H
  30. big:        Hello_VBig
  31.  
  32. trimline: trimline.c
  33.    cc trimline.c
  34.    ln trimline.o -lc
  35.  
  36. CardHBrush.c: CardHBrush trimline
  37.     ILBMtoC   CardHBrush
  38.     trimline <CardHBrush.c >t:x
  39.     copy t:x  CardHBrush.c
  40.     delete t:x
  41.  
  42. CardVBrush.c: CardVBrush trimline
  43.     ILBMtoC CardVBrush
  44.     trimline <CardVBrush.c >t:x
  45.     copy t:x CardVBrush.c
  46.     delete t:x
  47.  
  48. CardVBigBrush.c: CardVBigBrush trimline
  49.     ILBMtoC   CardVBigBrush
  50.     trimline <CardVBigBrush.c >t:x
  51.     copy t:x  CardVBigBrush.c
  52.     delete t:x
  53.  
  54. CardHImages.o: CardHImages.c CardHImages.h Cards.h CardHBrush.c includes
  55.         $(CC) $(OPT) CardHImages.c
  56.  
  57. Cards.o      : Cards.c Cards.h includes
  58.         $(CC) $(OPT) Cards.c
  59.  
  60. CardVImages.o: CardVImages.c CardVImages.h Cards.h CardVBrush.c includes
  61.         $(CC) $(OPT) CardVImages.c
  62.  
  63. CardVBigImages.o: CardVBigImages.c CardVBigImages.h Cards.h CardVBigBrush.c includes
  64.         $(CC) $(OPT) CardVBigImages.c
  65.  
  66. Hello_H.o: Hello_H.c CardHImages.h Cards.h includes
  67.     $(CC) $(OPT) Hello_H.c
  68.  
  69. Hello_H:   Hello_H.o CardHImages.o Cards.o
  70.     ln +cd Hello_H.o CardHImages.o Cards.o -lc
  71.  
  72. Hello_V.o: Hello_V.c CardVImages.h Cards.h includes
  73.     $(CC) $(OPT) Hello_V.c
  74.  
  75. Hello_V:   Hello_V.o CardVImages.o Cards.o
  76.     ln +cd Hello_V.o CardVImages.o Cards.o -lc
  77.  
  78. Hello_VBig.o: Hello_VBig.c CardVBigImages.h Cards.h includes
  79.     $(CC) $(OPT) Hello_VBig.c
  80.  
  81. Hello_VBig: Hello_VBig.o CardVBigImages.o Cards.o
  82.     ln +cd  Hello_VBig.o CardVBigImages.o Cards.o -lc
  83.  
  84. includes: includes.c
  85.     $(CC) -qv -wc -ho includes includes.c
  86.  
  87. clean:
  88.     Delete Hello_H.dbg    CardHImages.o    Hello_H.o \
  89.            Hello_V.dbg    CardVImages.o    Hello_V.o \
  90.            Hello_VBig.dbg CardVBigImages.o Hello_VBig.o \
  91.            Cards.o trimline.o includes
  92.  
  93.